package com.hollycrm.ahunicom.sheet.sales.logic;

import java.util.List;
import java.util.Map;

import net.sf.hibernate.HibernateException;

import com.hollycrm.ahunicom.sheet.sales.po.SalesCondition;
import com.hollycrm.unicom.common.PageViewObject;
import com.hollycrm.unicom.security.AuthToken;

public interface SalesSheetSupportManager {
	public String beanID = "salesSheetSupportImpl";
	public void saveObject(Object obj) throws HibernateException;
	public Object getObject(String objId, Class objClass);
	public void saveOrUpdate(Object obj);
	public void updateObject(Object obj)throws HibernateException;;
	public List getSalesSheetCount(final String handleDept,final String depid);
	public Map getBusinessTypeCount(final String handleDept,final String userCode);
	public PageViewObject getQueryResult(final AuthToken authToken,final SalesCondition con, final int currentPage);
	public PageViewObject getDealQueryResult(final AuthToken authToken,final SalesCondition con, final int currentPage);
	 public List getUserList(final String deptID);
	 public List getAllDealSheetList(final String mainSheetNo); 
	 public List listDealSheetByOrder(final String mainSheetNo) ;
	 public String delAllDealSheet(final String mainSheetNo,final String mainOrdeal);
	 public List listDealSheet(final String mainSheetNo) ;
	 public List listHistroySheet(final String callinTeleNO,final String problemTypeID) ;
}
